<?php
namespace core\lib;
class log{
	static $class;

	static public function init(){
		$drive = \core\lib\conf::get('DRIVE','log');
		$class = '\core\lib\drive\log\\'.$drive;
		// p($class);
		self::$class = new $class;
	}

	static public function log($name,$file){
		self::$class->log($name,$file);
	}
}